package com.xlink.dto;

import com.reeham.component.ddd.annotation.Model;
import org.moon.base.domain.BaseDomain;

/**  域模型
 * Created by asus1 on 2015/12/22.
 */
@Model
public class Sensor extends BaseDomain {
    private static final long serialVersionUID = 1L;
    private Long deviceId;//
    private String title;//传感器名
    private String tags;//标签
    private String type;//传感器类型
    private String unit;//单位/符号
    private String formula;//数据修正公式
    private String period;//默认显示时间段
    private String time;//故障检测时间
    private String about;//传感器简介
    private int on_off;//传感器开关状态

    public String gettype() {return type;}

    public void settype(String type) {
        this.type = type;
    }

    public String gettitle() {
        return title;
    }

    public void settitle(String title) {
        this.title = title;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getabout() {
        return about;
    }

    public void setabout(String about) {
        this.about = about;
    }

    public String getunit() {return unit;}

    public void setunit(String unit) {this.unit = unit;}

    public String getformula() {return formula;}

    public void setformula(String formula) {this.formula = formula;}

    public String getperiod() {return period;}

    public void setperiod(String period) {this.period = period;}

    public String gettime() {return time;}

    public void settime(String time) {this.time = time;}

    public int geton_off() {return on_off;}

    public void seton_off(int on_off) {this.on_off = on_off;}

    public Long getdeviceId() {return deviceId;}

    public void setdeviceId(Long deviceId) {this.deviceId = deviceId;}


}










